###
 # @Author: hammercui
 # @Date: 2020-07-31 14:03:42
 # @LastEditors: hammercui
 # @LastEditTime: 2020-07-31 14:14:49
 # @FilePath: /docker-service-config/start_sh/kong_coder/kong-server.sh
 # @Description: kong的具体服务
### 
sudo docker run -d --name kong-coder \
--network=kong-net-coder \
-e "KONG_DATABASE=postgres" \
-e "KONG_PG_HOST=kong-database-coder" \
-e "KONG_PG_PASSWORD=LA1954b!" \
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database-coder" \
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
-e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
-e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
-e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" \
-v /data/docker/kong-coder:/var/log \
-p 8000:8000 \
-p 8443:8443 \
-p 8001:8001 \
-p 8444:8444 \
kong:latest